import { ref, onMounted } from "vue";

export default {
  setup() {
    const root = ref(null);
    onMounted(() => {
      debugger
      console.log("root", root);
    });
    // with JSX
    return () => <div ref={root}>这个是模板引用在jsx中的用法</div>;
  },
};
